/**
 * 语言
 * 约定，0为中文，1为英文
 */
export const language = {
  app: {
    title: [
      'Dep Vista - 依赖可视化工具',
      'Dep Vista - Dependency Visualization Tool'
    ],
    loading: [
      '加载中...',
      'Loading...'
    ],
    error: [
      '错误',
      'Error'
    ],
    refresh: [
      '刷新',
      'Refresh'
    ],
    back: [
      '返回',
      'Back'
    ],
    cancel: [
      '取消',
      'Cancel'
    ],
    confirm: [
      '确认',
      'Confirm'
    ],
    save: [
      '保存',
      'Save'
    ],
    delete: [
      '删除',
      'Delete'
    ],
    edit: [
      '编辑',
      'Edit'
    ],
    add: [
      '添加',
      'Add'
    ],
    search: [
      '搜索',
      'Search'
    ],
    settings: [
      '设置',
      'Settings'
    ],
    language: [
      '语言',
      'Language'
    ],
    theme: [
      '主题',
      'Theme'
    ],
    noData: [
      '暂无数据',
      'No data available'
    ],
  },
  nav: {
    dashboard: [
      '首页',
      'Home'
    ],
    projects: [
      '项目',
      'Projects'
    ],
    dependencies: [
      '依赖',
      'Dependencies'
    ],
    cleanup: [
      '清理工具',
      'Cleanup Tools'
    ],
    settings: [
      '设置',
      'Settings'
    ],
    files: [
      '文件浏览',
      'Files'
    ],
  },
  projects: {
    title: [
      '项目列表',
      'Project List'
    ],
    description: [
      '查看项目列表，支持表格和卡片两种视图',
      'View projects list, supports table and card views'
    ],
    scan: [
      '扫描项目',
      'Scan Projects'
    ],
    name: [
      '项目名称',
      'Project Name'
    ],
    path: [
      '路径',
      'Path'
    ],
    type: [
      '类型',
      'Type'
    ],
    dependencies: [
      '依赖',
      'Dependencies'
    ],
    dep: [
      '依赖',
      'deps'
    ],
    devDep: [
      '开发依赖',
      'dev deps'
    ],
    noDeps: [
      '无依赖',
      'No dependencies'
    ],
    size: [
      '大小',
      'Size'
    ],
    lastUpdated: [
      '最后更新',
      'Last Updated'
    ],
    noProjects: [
      '未找到项目，请扫描项目目录',
      'No projects found. Please scan project directories.'
    ],
    scanSuccess: [
      '扫描完成',
      'Scan completed'
    ],
    scanFailed: [
      '扫描失败',
      'Scan failed'
    ],
    scanning: [
      '正在扫描...',
      'Scanning...'
    ],
    loadSize: [
      '加载大小',
      'Load Size'
    ],
    loadingSize: [
      '计算大小中...',
      'Calculating size...'
    ],
    refreshSuccess: [
      '刷新成功',
      'Refresh successful'
    ],
    basicInfo: [
      '基本信息',
      'Basic Info'
    ],
    detail: [
      '详情',
      'Detail'
    ],
    open: [
      '打开',
      'Open'
    ],
    notFound: [
      '未找到项目',
      'Project Not Found'
    ],
    notFoundDesc: [
      '未找到所请求的项目，请检查路径是否正确',
      'The requested project was not found. Please check if the path is correct.'
    ],
    loadDetailFailed: [
      '加载项目详情失败',
      'Failed to load project details'
    ],
    viewAsTable: [
      '表格视图',
      'Table View'
    ],
    viewAsCard: [
      '卡片视图',
      'Card View'
    ],
    rescan: [
      '重新扫描',
      'Rescan'
    ],
  },
  dashboard: {
    title: [
      '首页',
      'Home'
    ],
    description: [
      'Dep Vista 是一个项目依赖可视化和管理工具',
      'Dep Vista is a project dependency visualization and management tool'
    ],
    rootPath: [
      '根目录路径',
      'Root Path'
    ],
    rootName: [
      '根目录名称',
      'Root Name'
    ],
    totalProjects: [
      '项目总数',
      'Total Projects'
    ],
    totalSize: [
      '总大小',
      'Total Size'
    ],
    nodeModulesSize: [
      'node_modules大小',
      'node_modules Size'
    ],
    projectSize: [
      '项目大小',
      'Project Size'
    ],
    scanTime: [
      '扫描时间',
      'Scan Time'
    ],
    rescan: [
      '重新扫描',
      'Rescan'
    ],
    aboutTitle: [
      '关于 Dep Vista',
      'About Dep Vista'
    ],
    feature1Title: [
      '项目依赖可视化',
      'Project Dependency Visualization'
    ],
    feature1Desc: [
      '以图形化方式展示项目之间的依赖关系，帮助您理解项目结构',
      'Visualize project dependencies graphically to help understand project structure'
    ],
    feature2Title: [
      '多项目管理',
      'Multi-Project Management'
    ],
    feature2Desc: [
      '支持同时管理多个项目，统一查看项目信息和依赖',
      'Manage multiple projects simultaneously and view project information and dependencies in one place'
    ],
    feature3Title: [
      '清理工具',
      'Cleanup Tools'
    ],
    feature3Desc: [
      '提供工具帮助清理冗余文件，例如未使用的node_modules',
      'Provides tools to help clean up redundant files, such as unused node_modules'
    ],
  },
  project: {
    viewDetails: [
      '查看详情',
      'View Details'
    ],
    openDir: [
      '打开目录',
      'Open Directory'
    ],
    path: [
      '路径',
      'Path'
    ],
    dependencies: [
      '依赖',
      'Dependencies'
    ],
    dependencyCount: [
      '依赖数量',
      'Dependency Count'
    ],
    subprojects: [
      '子项目',
      'Subprojects'
    ],
  },
  cleanup: {
    title: [
      '清理工具',
      'Cleanup Tools'
    ],
    description: [
      '提供各种工具帮助清理冗余文件，释放磁盘空间',
      'Provides various tools to help clean up redundant files and free up disk space'
    ],
    enter: [
      '开始使用',
      'Start using'
    ],
    scan: [
      '扫描',
      'Scan'
    ],
    clean: [
      '清理',
      'Clean'
    ],
    cleanSuccess: [
      '清理成功',
      'Cleanup successful'
    ],
    cleanFailed: [
      '清理失败',
      'Cleanup failed'
    ],
    cleaning: [
      '正在清理...',
      'Cleaning...'
    ],
    scanning: [
      '正在扫描...',
      'Scanning...'
    ],
    scanSuccess: [
      '扫描成功',
      'Scan successful'
    ],
    scanFailed: [
      '扫描失败',
      'Scan failed'
    ],
    nodeModules: {
      title: [
        'node_modules 清理',
        'node_modules Cleanup'
      ],
      description: [
        '扫描并清理项目中的 node_modules 文件夹',
        'Scan and clean up node_modules folders in your projects'
      ],
      pageDesc: [
        '此工具帮助您查找并清理项目中的 node_modules 文件夹，释放磁盘空间',
        'This tool helps you find and clean up node_modules folders in your projects to free up disk space'
      ],
      path: [
        '路径',
        'Path'
      ],
      size: [
        '大小',
        'Size'
      ],
      lastAccessed: [
        '最后访问时间',
        'Last Accessed'
      ],
      root: [
        '根项目',
        'Root Project'
      ],
      confirmTitle: [
        '确认清理',
        'Confirm Cleanup'
      ],
      confirmDesc: [
        '您确定要清理所选的 node_modules 文件夹吗？此操作不可撤销。',
        'Are you sure you want to clean up the selected node_modules folders? This action cannot be undone.'
      ],
      confirmPaths: [
        '以下路径将被清理:',
        'The following paths will be cleaned up:'
      ],
      noneSelected: [
        '请选择要清理的文件夹',
        'Please select folders to clean up'
      ],
      selectAll: [
        '全选',
        'Select All'
      ],
      scanning: [
        '正在扫描 node_modules...',
        'Scanning for node_modules...'
      ],
      scanSuccess: [
        '扫描完成',
        'Scan completed'
      ],
      scanFailed: [
        '扫描失败',
        'Scan failed'
      ],
      cleaning: [
        '正在清理...',
        'Cleaning up...'
      ],
      cleanSuccess: [
        '清理成功',
        'Cleanup successful'
      ],
      cleanFailed: [
        '清理失败',
        'Cleanup failed'
      ],
      cleanPartialFailed: [
        '部分清理失败',
        'Partial cleanup failed'
      ],
      noNodeModules: [
        '未找到 node_modules 文件夹',
        'No node_modules folders found'
      ],
      totalSize: [
        '总大小',
        'Total Size'
      ],
      selectedSize: [
        '已选大小',
        'Selected Size'
      ],
      count: [
        '数量',
        'Count'
      ],
    },
    cache: {
      title: [
        '缓存清理',
        'Cache Cleanup'
      ],
      description: [
        '扫描并清理项目中的缓存文件',
        'Scan and clean up cache files in your projects'
      ],
    },
    dist: {
      title: [
        '构建产物清理',
        'Build Output Cleanup'
      ],
      description: [
        '扫描并清理项目中的构建产物',
        'Scan and clean up build outputs in your projects'
      ],
    },
    logs: {
      title: [
        '日志清理',
        'Logs Cleanup'
      ],
      description: [
        '扫描并清理项目中的日志文件',
        'Scan and clean up log files in your projects'
      ],
    },
  },
  theme: {
    light: [
      '浅色',
      'Light'
    ],
    dark: [
      '深色',
      'Dark'
    ],
    system: [
      '跟随系统',
      'System'
    ],
  },
}
